/**
 * Advanced Software Engineering (Monica Farrow)
 * DuplicateIDException class
 * 
 * The structure of this class has been based on lecture notes provided by
 * Monica Farrow as a part of Software Engineering courses at Heriot-Watt University.
 */

package depotAdmin;

/**
 * DuplicateIDException class allowing the creation of 
 * an exception specifically for 2 objects with identical IDs
 * @author Ionut Iordache, Nikky Afunugo, Dave Bond
 */
public class DuplicateIDException extends Exception {

	private static final long serialVersionUID = 1L;

	/** 
	 * passes exception message, using super
	 * @param dup  the message from the exception event
	 */	
	public DuplicateIDException(String dup){
		super(dup);
	}
}
